import { KuiSpaceProps } from './type';
import { PropType } from 'vue';

export default {
	/**
	 * 主轴排列方式
	 */
	justify: {
		type: String as PropType<KuiSpaceProps['justify']>,
		default: 'start' as KuiSpaceProps['justify']
	},
	/**
	 * 布局方向
	 */
	direction: {
		type: String as PropType<KuiSpaceProps['direction']>,
		default: 'row' as KuiSpaceProps['direction']
	},
	/**
	 * 侧轴排列方式
	 */
	align: {
		type: String as PropType<KuiSpaceProps['align']>,
		default: 'start' as KuiSpaceProps['align']
	},
	/**
	 * 子元素间距
	 */
	gap: {
		type: Array,
		default: [20,20]
	},
	/**
	 * 块状布局[布局方向为column时生效]
	 */
	block: {
		type: Boolean,
		default: false
	}
}